package basic.com.liz.learn.design.command;

public class Invoker
{
    private Command command;
    
    public Invoker(Command command)
    {
        super();
        this.command = command;
    }
    
    public void sendCommand()
    {
        System.out.println("发出命令");
        command.exe();
    }
}
